import request from '@/utils/request'

// 查询仰口生产报汇总列表
export function listAnalysis_singelsum(query) {
  return request({
    url: '/productionProcess/analysis_singelsum/list',
    method: 'get',
    params: query
  })
}

// 查询仰口生产报汇总详细
export function getAnalysis_singelsum(id) {
  return request({
    url: '/productionProcess/analysis_singelsum/' + id,
    method: 'get'
  })
}

// 新增仰口生产报汇总
export function addAnalysis_singelsum(data) {
  return request({
    url: '/productionProcess/analysis_singelsum',
    method: 'post',
    data: data
  })
}

// 修改仰口生产报汇总
export function updateAnalysis_singelsum(data) {
  return request({
    url: '/productionProcess/analysis_singelsum',
    method: 'put',
    data: data
  })
}

// 删除仰口生产报汇总
export function delAnalysis_singelsum(id) {
  return request({
    url: '/productionProcess/analysis_singelsum/' + id,
    method: 'delete'
  })
}


// 工厂下拉列表
export function getFactoryList() {
  return request({
    url: '/basic/factory/selectList',
    method: 'get'
  })
}